Q3BoundingBox_Union
You can use theQ3BoundingBox_Union
function to find the union of two bounding boxes.
TQ3BoundingBox *Q3BoundingBox_Union ( const TQ3BoundingBox *v1, const TQ3BoundingBox *v2, TQ3BoundingBox *result);
v1
- A pointer to a bounding box.
v2
- A pointer to a bounding box.
result
- On exit, a pointer to the union of the bounding boxes
v1
andv2
.DESCRIPTION
TheQ3BoundingBox_Union
function returns, as its function result and in theresult
parameter, a pointer to the bounding box that is the union of the two bounding boxes specified by the parametersv1
andv2
. Theresult
parameter can point to the memory occupied by eitherv1
orv2
, thereby performing the union operation in place.